package com.arrogames.blondbattle.model 
{
	import starling.events.Event;
	import starling.events.EventDispatcher;
	/**
	 * ...
	 * @author Robin van den Bogaard
	 */
	public class UnitDefinition {
		
		private var _name:String;
		private var _textureName:String;
		private var _health:Number;
		private var _speed:Number;
		
		private var _costs:Number;
		private var _cooldown:Number;
		
		private var _weapon:WeaponDefinition;
		
		public function UnitDefinition() {
		}
		
		public function get name():String 
		{
			return _name;
		}
		
		public function set name(value:String):void 
		{
			_name = value;
		}
		
		public function get textureName():String 
		{
			return _textureName;
		}
		
		public function set textureName(value:String):void 
		{
			_textureName = value;
		}
		
		public function get health():Number 
		{
			return _health;
		}
		
		public function set health(value:Number):void 
		{
			_health = value;
		}
		
		public function get costs():Number 
		{
			return _costs;
		}
		
		public function set costs(value:Number):void 
		{
			_costs = value;
		}
		
		public function get cooldown():Number 
		{
			return _cooldown;
		}
		
		public function set cooldown(value:Number):void 
		{
			_cooldown = value;
		}
		
		public function get speed():Number 
		{
			return _speed;
		}
		
		public function set speed(value:Number):void 
		{
			_speed = value;
		}
		
		public function get weapon():WeaponDefinition 
		{
			return _weapon;
		}
		
		public function set weapon(value:WeaponDefinition):void 
		{
			_weapon = value;
		}
		
		public function toString():String {
			return name;
		}
		
	}

}